<?
session_start();//
error_reporting(255);
$SERVER_PATH = 'http://dev.psihologus.ro'; //WITHOUT / at the end
include("configs/open_db.php");
include("classes/xtemplate.class.php");
include("classes/functions.php");
include("rewrite_handler.php");
/*if ( file_exists("./template/main.html") )
{
    $tpl = new XTemplate("main.html",'template');
} else {
    die('Nu exista nici un template selectat');
}*/

$CONTACT = array(
    'CONTACT_TELEFON' => '0721338153',
    'CONTACT_EMAIL1' => 'crigco@yahoo.com',
    'CONTACT_EMAIL2' => 'office@psihologos.com',
    'CONTACT_ADRESA' => 'Str. Schitu Magureanu 27-33
    sc. B et. I ap. 55, interfon 13, sect . 1 Bucuresti
    intrare prin str. Grigore Cobalcescu, vis-a-vis Hotel Trianon'
);


$tpl = XTemplate::getInstance();
$tpl->init("main.html",'template');
$tpl->assign("SERVER_PATH",$SERVER_PATH);
$REAL_PATH = $_SERVER['DOCUMENT_ROOT'];
$tpl->assign("REAL_PATH",$REAL_PATH);
$tpl->assign($CONTACT);



?>
